package com.pen.changgou.goods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-30 23:31:44
 */
@ApiModel
@Data
@TableName("tb_pref")
public class Pref implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "ID")
	private Long id;
	/**
	 * 分类ID
	 */
	@ApiModelProperty(name = "cateId",value = "分类ID")
	private Integer cateId;
	/**
	 * 消费金额
	 */
	@ApiModelProperty(name = "buyMoney",value = "消费金额")
	private Integer buyMoney;
	/**
	 * 优惠金额
	 */
	@ApiModelProperty(name = "preMoney",value = "优惠金额")
	private Integer preMoney;
	/**
	 * 活动开始日期
	 */
	@ApiModelProperty(name = "startTime",value = "活动开始日期")
	private LocalDate startTime;
	/**
	 * 活动截至日期
	 */
	@ApiModelProperty(name = "endTime",value = "活动截至日期")
	private LocalDate endTime;
	/**
	 * 类型,1:普通订单，2：限时活动
	 */
	@ApiModelProperty(name = "type",value = "类型,1:普通订单，2：限时活动")
	private String type;
	/**
	 * 状态,1:有效，0：无效
	 */
	@ApiModelProperty(name = "state",value = "状态,1:有效，0：无效")
	private String state;

}
